statefiles: simplify state/host file writing
authorDavid Härdeman <[email protected]>
Sat, 8 Nov 2025 14:08:17 +0000 (15:08 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Tue, 11 Nov 2025 07:30:28 +0000 (08:30 +0100)
commit06904ee1d4fb583c86f67e2f6ccd022c8488a9d9
tree811d031e6ea2e1fed0c82362c680135b57d6d0f1
parentbb39f088f3ef57473df1fe787761bf6654ff19d7
statefiles: simplify state/host file writing

Simplify and rename:
dhcpv6_write_ia_addrhosts() -> statefiles_write_host6()
dhcpv6_write_ia_addr() -> statefiles_write_state6()

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/302
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/statefiles.c